package itsm.isperp.module.entity.app;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 描述:app_message_failed 创建者:zhouhg 创建时间:2013/7/31
 **/
@Entity
@Table(name = "app_message_failed")
public class AppMessageFailed extends AppMessage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column
	String errorReason;

	public AppMessageFailed() {
	}

	public AppMessageFailed(AppMessage message, String error) {
		super(message);
		this.errorReason = error;
	}

	public String getErrorReason() {
		return errorReason;
	}

	public void setErrorReason(String errorReason) {
		this.errorReason = errorReason;
	}

}
